window.addEventListener("orientationchange", responsiveFn);
window.addEventListener("resize", responsiveFn);
responsiveFn ();
function responsiveFn () {
	var deviceWidth = document.querySelector("html").getBoundingClientRect().width;
	if(deviceWidth > 750) {
		deviceWidth = 750;
	}
	document.querySelector("html").style.fontSize = deviceWidth / 7.5 + 'px';
}